package org.parademo.utilities;

import org.parademo.model.ProposalEntity;
import org.parademo.model.VoteEntity;

/**
 * For implementation of Business logic related to Proposals.
 * User: Ajit Skanda
 */
public class ProposalUtilities {

    public ProposalEntity createProposal(ProposalEntity proposal){
        return proposal;
    }

    public ProposalEntity updateProposal(ProposalEntity proposal){
        return proposal;
    }

    public void deleteProposal(ProposalEntity proposal) {}

    public void updateProposalWeight(VoteEntity Vote){}

    public void startVotingOnProposal(ProposalEntity proposal) {}

    public void endVotingOnProposal(ProposalEntity proposal) {}
}
